package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.BaseBean;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface IModifyPhoneContact {

    interface IModifyPhonePresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter{
        void getCode(String userPhone, String phone);

        void checkCode(String s, String code, String phone);

        void updateUserPhone(String mobile);
    }

    interface IModifyPhoneView extends IBaseContact.IBaseView{


        void getCodeSuccess();


        void getCodeFalie(BaseBean response);

        void checkCodeSucc(String message);

        void checkCodeFail(String response);

        void updateUserPhoneSucc(String message);

        void updateUserPhoneFail(String message);
    }


}
